package com.wrench.elevator.base.user.dao;

import java.util.List;
import java.util.Map;

import com.wrench.elevator.base.user.domain.Building;

public interface BuildingDao
{
    /**
     * 获取所有楼盘【前期】
     * */
    List<Map> getBuildings();
    
    /**
     * 根据楼盘获取楼盘的group_id
     * */
    String getGroupId(int building_id);
    
    /**
     * 设置楼盘的group_id
     * */
    int setGroupId(int building_id, String group_id);
    
    /**
     * 添加楼盘
     * */
    int addBuilding(Building building);
    
    /**
     * 根据物业ID，查询楼盘
     * */
    List<Map> getBuildingsByPropertyId(int property_id);
}
